<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2010. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" href="../../book.css" charset="ISO-8859-1" type="text/css">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"> </script>
<title>Breakpoint Suspend Policy</title>
</head>
<body>
<h1>Breakpoint Suspend Policy</h1>
<p>A breapoint's suspend policy determines what should be suspended when a breakpoint is hit.</p>
<p>There are two options for Java breakpoints:</p>
<ul>
  <li><strong>Suspend thread</strong> - suspends only the thread that encountered the breakpoint</li>
  <li><strong>Suspend VM</strong> - suspends the entire VM when the breakpoint is encountered<br>
  </li>
</ul>
<p>This option can be changed in the <a href="../../reference/views/breakpoints/ref-breakpoints_view.htm#detail_pane"><strong>Breakpoints View</strong></a> detail pane, with the <a href="../../reference/views/breakpoints/ref-properties_contextaction.htm"><strong>Breakpoint Properties...</strong></a>, or by <a href="../../reference/views/breakpoints/ref-suspendpolicy_contextaction.htm">right-clicking</a> a breakpoint.</p>
<p><img src="images/ref-breakpoint_suspendpolicy.PNG" alt="Breakpoint suspend policy option"></p>
<p>You can also change the default setting for the suspend policy for all newly created breakpoints. </p>
<p>To do this go to the <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.debug.ui.JavaDebugPreferencePage)")'> <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="Opens the Java Debug preference page"> <strong>Java &gt;Debug</strong></a> preference page and change it there. </p>

<h3 class="related">Related Concepts</h3>
  <a href="../../concepts/cbrkpnts.htm">Breakpoints</a>

<h3 class="related">Related Tasks</h3>
  <a href="../../tasks/task-add_line_breakpoints.htm">Adding breakpoints</a><br>
  <a href="../../tasks/task-remove_line_breakpoints.htm">Removing breakpoints</a><br>
  <a href="../../tasks/task-launching_java_program.htm">Launching a Java program</a><br>
  <a href="../../tasks/task-running_and_debugging.htm">Running and debugging</a>

<h3 class="related">Related References</h3>
  <a href="../../reference/breakpoints/ref-enabled_option.htm">Enabled Option </a><br>
  <a href="../../reference/breakpoints/ref-hitcount_option.htm">Hit Count</a>
</body>
</html>
